Leadtools.Forms.Auto Namespace > AutoFormsEngine Class > RecognizePage Method : RecognizePage(RasterImage,Int32,List<IMasterFormsCategory>) Method |
public AutoFormsRecognizePageResult RecognizePage( RasterImage form, int pageNumber, List<IMasterFormsCategory> categories )
'Declaration Public Overloads Function RecognizePage( _ ByVal form As RasterImage, _ ByVal pageNumber As Integer, _ ByVal categories As List(Of IMasterFormsCategory) _ ) As AutoFormsRecognizePageResult
'Usage Dim instance As AutoFormsEngine Dim form As RasterImage Dim pageNumber As Integer Dim categories As List(Of IMasterFormsCategory) Dim value As AutoFormsRecognizePageResult value = instance.RecognizePage(form, pageNumber, categories)
public AutoFormsRecognizePageResult RecognizePage( RasterImage form, int pageNumber, List<IMasterFormsCategory> categories )
function Leadtools.Forms.Auto.AutoFormsEngine.RecognizePage(RasterImage,Int32,List{IMasterFormsCategory})( form , pageNumber , categories )
public: AutoFormsRecognizePageResult^ RecognizePage( RasterImage^ form, int pageNumber, List<IMasterFormsCategory^>^ categories )
This method compares the unknown page with all Master Forms pages in the repository and returns the Master Form and the number of the page in that Master Form with maximum confidence.
The recognition of the page will stop comparing the form with other Master Forms either when the confidence of the recognition result is greater or equal to MinimumConfidenceRecognized or when the the Master Forms have all been compared.
The result of the recognition will have the the result of the Master Form Page with maximum confidence. If the confidence is less than MinimumConfidenceKnownForm it will return null, i.e. the page type is unknown and cannot be recognized.
This method is useful when you have an unknown page and you want to recognize the Master Form to which the page belongs after which you may process the form and extract the data.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2